/*
Unity3d-TUIO connects touch tracking from a TUIO to objects in Unity3d.

Copyright 2011 - Mindstorm Limited (reg. 05071596)

Author - Simon Lerpiniere

This file is part of Unity3d-TUIO.

Unity3d-TUIO is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Unity3d-TUIO is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser Public License for more details.

You should have received a copy of the GNU Lesser Public License
along with Unity3d-TUIO.  If not, see <http://www.gnu.org/licenses/>.

If you have any questions regarding this library, or would like to purchase 
a commercial licence, please contact Mindstorm via www.mindstorm.com.
*/

/// <summary>
/// Specifies tolerances to use in touch gestures.
/// </summary>
[System.Serializable]
public class TouchTolerances
{
	public float MaxHeldTime = 1f;
	
	public bool CheckHeldTime = false;
	public bool CheckMovementThreshold = false;
	public bool CheckHitsSameCollider = true;
	
	public bool TriggerOnTouchDown = false;
	
	public float MaximumPosChange = 10f;
}